package com.gupao.ldr.pattern.strategy.pay.payport;


import com.gupao.ldr.pattern.strategy.pay.PayState;

/**
 * 支付渠道
 */
public interface Payment {
    //每次增加一个支付渠道，我们就去维护这个接口一次
//    public final static Payment ALI_PAY=new AilPay();
//    public final static Payment WECHAT_PAY=new AilPay();
//    public final static Payment UNION_PAY=new AilPay();
//    public final static Payment JD_PAY=new AilPay();

    public PayState pay(String uid, double amount);


}
